package org.jsola.hr.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jsola.core.dto.BaseDTO;

/**
 * 考勤高级设置
 *
 * @author wxz
 */
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "考勤高级设置")
@Data
public class AttendAdvancedDTO extends BaseDTO {

    private static final long serialVersionUID = 1L;

    /** 允许迟到早退；1-允许,0-不允许 */
    @ApiModelProperty(notes = "允许迟到早退", example = "1-允许,0-不允许")
    private Integer isAllowedLateEarly;

    /** 上班允许迟到(分钟). */
    @ApiModelProperty(notes = "上班允许迟到(分钟)", example = "")
    private Integer lateMinute;

    /** 下班允许早退(分钟). */
    @ApiModelProperty(notes = "下班允许早退(分钟)", example = "")
    private Integer earlyMinute;

    /** 允许晚走晚到;1-允许,0-不允许 */
    @ApiModelProperty(notes = "允许晚走晚到", example = "1-允许,0-不允许")
    private Integer isAllowLateLate;

    /** 下班晚走(分钟). */
    @ApiModelProperty(notes = "下班晚走(分钟)", example = "")
    private Integer offWorkLateMinute;

    /** 上班晚到(分钟). */
    @ApiModelProperty(notes = "上班晚到(分钟)", example = "")
    private Integer onWorkLateMinute;

    /** 最早上班打卡时间. */
    @ApiModelProperty(notes = "最早上班打卡时间(分钟)", example = "")
    private String earliestPunchTime;

    /** 最晚下班打卡时间. */
    @ApiModelProperty(notes = "最晚下班打卡时间(分钟)", example = "")
    private String latestPunchTime;

    /** 下班是否需要打卡;1-是,0-否 */
    @ApiModelProperty(notes = "下班是否需要打卡", example = "1-是,0-否 ")
    private Integer afterWorkNeedPunch;

    @ApiModelProperty(notes = "考勤打卡时间ID(后台用)", example = "")
    private String attendPunchTimeId;

}
